<html>
<head><meta charset="utf-8"><title>random wasm failures · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html">random wasm failures</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="200402370"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200402370" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200402370">(Jun 10 2020 at 11:04)</a>:</h4>
<p>seeing a few link failures pop up randomly on wasm during rollups. The PRs merge fine on retry/re-rollup:<br>
case 1: <a href="https://github.com/rust-lang/rust/pull/73168#issuecomment-641565328">https://github.com/rust-lang/rust/pull/73168#issuecomment-641565328</a><br>
case 2: <a href="https://github.com/rust-lang/rust/pull/73206#issuecomment-641924462">https://github.com/rust-lang/rust/pull/73206#issuecomment-641924462</a></p>



<a name="200402399"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200402399" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200402399">(Jun 10 2020 at 11:04)</a>:</h4>
<p>(cc <span class="user-mention" data-user-id="116883">@tmandry</span> )</p>



<a name="200410485"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200410485" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200410485">(Jun 10 2020 at 12:44)</a>:</h4>
<p>I think I figured out what is wrong.  The docker caches have an older version of emsdk.  If for whatever reason something uses a newer docker cache, it gets a newer version of emsdk.  </p>
<p>This change has broken how we use emsdk:  <a href="https://github.com/emscripten-core/emsdk/pull/472">https://github.com/emscripten-core/emsdk/pull/472</a></p>
<p>The solution is to either add <code>--no-embedded</code> to this line: <a href="https://github.com/rust-lang/rust/blob/bb8674837a9cc5225020e07fc3f164762bb4c11c/src/ci/docker/scripts/emscripten.sh#L23">https://github.com/rust-lang/rust/blob/bb8674837a9cc5225020e07fc3f164762bb4c11c/src/ci/docker/scripts/emscripten.sh#L23</a></p>
<p>Or set <code>EM_CONFIG=/emsdk-portable/.emscripten</code> around here: <a href="https://github.com/rust-lang/rust/blob/master/src/ci/docker/wasm32/Dockerfile#L25">https://github.com/rust-lang/rust/blob/master/src/ci/docker/wasm32/Dockerfile#L25</a></p>



<a name="200410542"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200410542" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200410542">(Jun 10 2020 at 12:45)</a>:</h4>
<p>cc <span class="user-group-mention" data-user-group-id="2943">@T-infra</span> <span class="user-mention" data-user-id="120823">@DPC</span>  ^^</p>



<a name="200412222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200412222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200412222">(Jun 10 2020 at 13:00)</a>:</h4>
<p>I'm thinking that setting EM_CONFIG might be preferred.  Reading the PR, it looks like they want to get ride of the "global" non-embedded mode.  I'll try a PR and see how it goes.</p>



<a name="200412700"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200412700" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200412700">(Jun 10 2020 at 13:03)</a>:</h4>
<p>can you send a fix? i am closing the tree</p>



<a name="200413752"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200413752" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200413752">(Jun 10 2020 at 13:12)</a>:</h4>
<p><span class="user-mention" data-user-id="120518">@Eric Huss</span></p>



<a name="200413787"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200413787" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200413787">(Jun 10 2020 at 13:12)</a>:</h4>
<p>yea, just about to post</p>



<a name="200415731"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200415731" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200415731">(Jun 10 2020 at 13:29)</a>:</h4>
<p>Posted <a href="https://github.com/rust-lang/rust/pull/73213">https://github.com/rust-lang/rust/pull/73213</a>.  I'm not 100% sure that's the best fix.  I'm running the testsuite locally, and it seems to be passing so far, but it hasn't finished, yet.</p>



<a name="200417095"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200417095" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200417095">(Jun 10 2020 at 13:40)</a>:</h4>
<p>Tests passed locally for me.  There are some really strange tests, like <code>iter-count-overflow-debug.rs</code>, that take several minutes to run!</p>



<a name="200417169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200417169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200417169">(Jun 10 2020 at 13:41)</a>:</h4>
<p>And that's on a very fast machine.  I wonder how long those take on CI?</p>



<a name="200449822"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200449822" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200449822">(Jun 10 2020 at 17:36)</a>:</h4>
<p>I reopened the tree, but I realize that may have been premature.  There is one job left (dist-i686) that is taking a long time, and there hasn't been any output in the console in a while.  Hopefully it's just azure not processing the output correctly.  I have to run, will be back in about 30 min.</p>



<a name="200450249"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200450249" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200450249">(Jun 10 2020 at 17:39)</a>:</h4>
<p>I think build gets killed after 4h, 10more minutes to wait :P</p>



<a name="200450409"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200450409" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200450409">(Jun 10 2020 at 17:40)</a>:</h4>
<p>the dist-i686 job is making progress, there is output from the console though</p>



<a name="200451358"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200451358" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200451358">(Jun 10 2020 at 17:47)</a>:</h4>
<p>I think its not likely that the remaining build is going to finish in time, so someone should probably close the tree again.</p>



<a name="200452406"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200452406" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200452406">(Jun 10 2020 at 17:55)</a>:</h4>
<p>It's fine i guess, Only 1 pr gets merged at a time so not an issue. If the wasm issue persists, I'll close it again. Thanks</p>



<a name="200452606"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200452606" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200452606">(Jun 10 2020 at 17:56)</a>:</h4>
<p>I was wrong apparently, it seems to continue. Hopefully it will finish</p>



<a name="200455597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200455597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200455597">(Jun 10 2020 at 18:18)</a>:</h4>
<p>It's a bit frustrating how the real-time log output often just stops.  I've never been able to figure that out, or how to refresh it.  I've also noticed that some of the really slow jobs have been running on older CPUs.  Hopefully the next run will be more lucky.</p>



<a name="200465426"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200465426" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200465426">(Jun 10 2020 at 19:33)</a>:</h4>
<p>closed the tree as a precaution</p>



<a name="200479864"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200479864" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aaron Hill <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200479864">(Jun 10 2020 at 21:33)</a>:</h4>
<p>is the tree still supposed to be closed?</p>



<a name="200480017"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200480017" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200480017">(Jun 10 2020 at 21:34)</a>:</h4>
<p>Just reopened it.</p>



<a name="200490623"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/random%20wasm%20failures/near/200490623" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/random.20wasm.20failures.html#200490623">(Jun 10 2020 at 23:22)</a>:</h4>
<p>waiting on <a href="https://github.com/rust-lang/rust/pull/73206">https://github.com/rust-lang/rust/pull/73206</a> to see if the issue still persists or not</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>